﻿namespace MinioStorage.Models
{
    public class ServerResult
    {
        /// <summary>
        /// 处理状态
        /// </summary>
        public bool Success { get; set; }

        /// <summary>
        /// 处理消息
        /// </summary>
        public string? Message { get; set; }

        /// <summary>
        /// 状态码
        /// </summary>
        public int StatusCode { get; set; }
    }
    public class ServerResult<T> : ServerResult
    {
        /// <summary>
        /// 反馈数据
        /// </summary>
        public T? Data { get; set; }
    }
}
